<%@ page import="admin.Empresa" %>



<div class="fieldcontain ${hasErrors(bean: empresaInstance, field: 'endereco', 'error')} ">
  <label for="endereco">
    <g:message code="empresa.endereco.label" default="Endereço" />

  </label>
  <g:textArea name="endereco" cols="40" rows="5" maxlength="1000" value="${empresaInstance?.endereco}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: empresaInstance, field: 'cep', 'error')} ">
  <label for="cep">
    <g:message code="empresa.cep.label" default="CEP" />

  </label>
  <g:textField name="cep" maxlength="9" value="${empresaInstance?.cep}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: empresaInstance, field: 'telefone', 'error')} ">
  <label for="cep">Telefone</label>
  <g:textField name="telefone" maxlength="9" value="${empresaInstance?.telefone}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: empresaInstance, field: 'bairro', 'error')} ">
  <label for="bairro">
    <g:message code="empresa.bairro.label" default="Bairro" />

  </label>
  <g:textField name="bairro" maxlength="30" value="${empresaInstance?.bairro}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: empresaInstance, field: 'cidade', 'error')} ">
  <label for="cidade">
    <g:message code="empresa.cidade.label" default="Cidade" />

  </label>
  <g:textField name="cidade" maxlength="50" value="${empresaInstance?.cidade}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: empresaInstance, field: 'estado', 'error')} ">
  <label for="estado">
    <g:message code="empresa.estado.label" default="Estado" />

  </label>
  <g:textField name="estado" maxlength="2" value="${empresaInstance?.estado}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: empresaInstance, field: 'emailContato1', 'error')} ">
  <label for="emailContato1">
    <g:message code="empresa.emailContato1.label" default="E-mail Contato 1" />

  </label>
  <g:field type="email" name="emailContato1" value="${empresaInstance?.emailContato1}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: empresaInstance, field: 'emailContato2', 'error')} ">
  <label for="emailContato2">
    <g:message code="empresa.emailContato2.label" default="E-mail Contato 2" />

  </label>
  <g:field type="email" name="emailContato2" value="${empresaInstance?.emailContato2}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: empresaInstance, field: 'apresentacao', 'error')} ">
  <label for="apresentacao">
    <g:message code="empresa.apresentacao.label" default="Apresentação" />

  </label>
  <g:textArea name="apresentacao" cols="40" rows="5" maxlength="100000" value="${empresaInstance?.apresentacao}"/>
</div>

